Fix the implicit declaration of function `swiotlb_init' warning, by including
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 21 Mar 2006 11:21:08 +0000 (12:21 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 21 Mar 2006 11:21:08 +0000 (12:21 +0100)
the appropriate headers.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
linux-2.6-xen-sparse/arch/i386/mm/init-xen.c

index 02bcc6139a0a308bdafbb5e1744513410d296a95..f1cb31ca3f6fca5e0422b7e96f461b62c2e193d2 100644 (file)
 #include <asm/tlbflush.h>
 #include <asm/sections.h>
 #include <asm/hypervisor.h>
+#if defined(CONFIG_SWIOTLB)
+#include <linux/dma-mapping.h>
+#include <asm/scatterlist.h>
+#include <asm/swiotlb.h>
+#endif
 
 extern unsigned long *contiguous_bitmap;